package com.baizhi.service;

import com.baizhi.controller.MenuController;
import com.baizhi.dao.MenuDao;
import com.baizhi.entrty.Menu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuDao menuDao;


    @Override
    public List<Menu> category() {

        return menuDao.category();
    }
}
